/**
 * Created by sola on 2018/1/21.
 */


function getHeaderCsrf() {
    var headers = {};
    headers[$('#_csrf_header_name').attr("name")] = $('#_csrf_header_name').attr("value");
    return headers;
}
function getDataCsrf() {
    var date = {};
    date[$('#_csrf_parameter_name').attr("name")] = $('#_csrf_parameter_name').attr("value");
    return date;
}